package com.ruoyi.app.converter;

import com.ruoyi.app.domain.project.settle.ProjectSettleDetailItem;
import com.ruoyi.app.domain.project.settle.ProjectSettleInfo;
import com.ruoyi.service.project.entity.ProjectSettleDetailEntity;
import com.ruoyi.service.project.entity.ProjectSettleEntity;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 * 作用：项目员工列表
 * </p>
 *
 * @author Zane
 * @since 2025-10-05 8:05
 */
@Mapper(uses = {})
public interface ProjectSettleConverter {

  ProjectSettleConverter INSTANCE = Mappers.getMapper(ProjectSettleConverter.class);

  /**
   * 对象转实体
   */
  @Mappings({})
  ProjectSettleInfo toSettleInfo(ProjectSettleEntity settleEntity);

  /**
   * 详情对象转实体
   */
  @Mappings({})
  ProjectSettleDetailItem toSettleDetail(ProjectSettleDetailEntity settleDetail);
}
